{% extends "main/index.html" %}

{% load i18n %}
{% block title %}
<title>documento</title>
{% endblock %}
{% block content %}
    <div class="titulo_contenedor">
	Edit Document
    </div>
    <div class="cuerpo_contenedor">
	{% if ret %}
		<form action="/documents/" method="post">
			<br><br>
			<td><a href="/documents/">{% trans "Saved OK. Click to return." %}</a></td>
			<br><br>
		</form>
	{% else %}
	    <br>
	    <form method="post" action="save2/" >
			No. Resolucion: <input type="text" name="number" value="{{num}}" style="width:96px;"> <br>
			Fecha: <input type="text" name="date" value="{{date}}" style="width:500px;"> <br>
			Estado: <input type="text" name="state" value="{{st}}" style="width:400px;"> <br>
			<br><br>
			Visto: <br><br>
				<center>
					<fieldset> <TEXTAREA name="visto" rows="20" cols="80">{{visto}}</TEXTAREA> </fieldset>
				</center>
			<br><br>
			Considerando: <br><br>
				<center>
					<fieldset> <TEXTAREA name="consider" rows="20" cols="80">{{consider}}</TEXTAREA> </fieldset>
				</center>
			<br><br>
			Resuelve: <br><br>
				<center>
					<fieldset> <TEXTAREA name="resolv" rows="20" cols="80">{{resolv}}</TEXTAREA> </fieldset>
				</center>
			<br><br>
<!--			<br><br>
			Path: <input type="text" value="{{path}}" name="path"> <br>
			<br><br>-->
			<div style="text-aling:right; width:100%">
				<!--<input name="cmdAceptar" value="Guardar" type="submit"><br>-->
				<input name="cmdAceptar" value="Guardar" type="submit" class="boton_1">
			</div>
	    </form>
	{% endif %}
    </div>
    <div class="fondo_contenedor"> </div>
{% endblock %}
